<div class="ui-g-12 p-20">
  <p-panel headerClass="bg-none" [showScroll]="true" marginHeight='80'>
    <p-header>
      <div class="text-right p-6-0">
        <span class="border-l-1a8fe8 p-l-8 pull-left m-t-8 ">验收信息</span>
        <button pButton type="button" (click)="edit()" class="btn-secondary" label="编辑" ></button>
      </div>
    </p-header>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        编号：
      </div>
      <div class="table-cell" >
        {{checkManage.code}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        名称：
      </div>
      <div class="table-cell" >
        {{checkManage.name}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        是否预警：
      </div>
      <div class="table-cell" >
        {{checkManage.isWarning ? '是' : '否'}}
      </div>
    </div>
    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        预警天数：
      </div>
      <div class="table-cell" >
        {{checkManage.isWarning ? checkManage.warningDays ? checkManage.warningDays + '天' : '' : ''}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        是否客户确认：
      </div>
      <div class="table-cell" >
        {{checkManage.isCustomConfirm ? '是' : '否'}}
      </div>
    </div>
    <div class="table-row">
      <div class="table-cell  width-150 opacity06  text-right p-l-25">
        客户确认天数：
      </div>
      <div class="table-cell" >
        {{checkManage.isCustomConfirm ? checkManage.confirmDays ? checkManage.confirmDays + '天' : '' : ''}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        提醒方式：
      </div>
      <div class="table-cell" >
        {{checkManage.alertMethodText}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        是否需要评价：
      </div>
      <div class="table-cell" >
        {{checkManage.isCustomDiscuss ? '是' : '否'}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        未评价提醒天数：
      </div>
      <div class="table-cell" >
        {{checkManage.isCustomDiscuss ? checkManage.noDiscussAlertDays ? checkManage.noDiscussAlertDays + '天' : '' : ''}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        客户回访：
      </div>
      <div class="table-cell" >
        {{checkManage.isCustomBack ? '是' : '否'}}
      </div>
    </div>

    <div class="table-row">
      <div class="table-cell width-150 opacity06  text-right p-l-25">
        状态：
      </div>
      <div class="table-cell" >
        {{checkManage.isEffect ? '启用' : '禁用'}}
      </div>
    </div>

    <div class="b-b-ebebeb">
      </div>

    <div class="table-row">
      <div class="table-cell width-150   text-right p-l-25">
        验收说明：
      </div>
    </div>
    <div class="dataTable">
        <p-dataTable [value]="conStandardList" [lazy]="true" [paginator]="false" >
          <p-column *ngFor="let col of colsConStandard" [field]='col.field' [header]='col.header' [style]="{'width':col.width}">
            <ng-template let-index="rowIndex" let-data="rowData" pTemplate="body" *ngIf="col.tem">
            </ng-template>
          </p-column>
        </p-dataTable>
    </div>

    <div class="b-b-ebebeb">
      </div>

    <div class="table-row">
      <div class="table-cell width-150   text-right p-l-25">
        验收标准：
      </div>

    </div>
    <div  class="dataTable">
        <p-dataTable [value]="checkStandardList"  [lazy]="true" [paginator]="false"  >
          <p-column *ngFor="let col of colsCheckStandard" [field]='col.field' [header]='col.header'>
            <ng-template let-index="rowIndex" let-data="rowData" pTemplate="body" *ngIf="col.tem">
                {{data.isRequestPassItem ? '是' : '否'}}
            </ng-template>
          </p-column>
        </p-dataTable>
    </div>


  </p-panel>

</div>
